import { defineConfig } from "rolldown";

export default defineConfig([
  {
    input: "rx-operators/example.ts",
    output: {
      format: "esm",
      dir: "dist/esm/source",
    },
  },
  {
    input: "rx-operators/example.ts",
    output: {
      name: "example",
      format: "iife",
      dir: "dist/iife/source"
    },
  },
  {
    input: "rx-operators/example.ts",
    output: {
      format: "commonjs",
      dir: "dist/nodejs/source",
    },
  },
]);
